/*
 *
 * @ProjectName:    my_umi_app
 * @Package:
 * @ClassName:      article_type
 * @Description:    文章相关
 * @Author:         SuPeiSen
 * @CreateDate:     2021/1/31 7:49 下午
 * @UpdateDate:     2021/1/31 7:49 下午
 * @UpdateRemark:   更新说明：
 * @Version:        1.0
 */

// 文章列表
export interface ArticleListType {
  total: number;
  per_page: number;
  current_page: number;
  last_page: number;
  lists: Array<ArticleListItemType>;
}

// 每个文章详情
export interface ArticleListItemType {
  id: number;
  article_title: string;
  article_image: string;
  article_category: string;
  article_content: string;
  article_status: number;
  article_sticky: number;
  article_originate: number;
  article_synopsis: string;
  article_consult: Array<{
    consultName: string;
    consultUrl: string;
  }>;
  article_read: number;
  add_time: string;
  articleCategory: {
    id: number;
    category_name: string;
  };
  articleTag: Array<{
    id: number;
    tag_name: string;
    tag_color: string;
    add_time: string;
    status: number;
    icon_url: string;
  }>;
}
